package com.test.dao;

import com.test.entity.Adminuser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface AdminuserDao {
    @Select("select * from adminuser where name=#{adminuser.name} AND password =#{adminuser.password}")
    Adminuser getAdminUser(@Param("adminuser") Adminuser adminuser);
}
